package com.fqgj.sentry.policy.entity;
import com.fqgj.common.entity.BaseEntity;

/**
* User: liupengpeng
* Date: 2017-11-24
* Time: 09:37:45.669
* TableDesc:
*/
public class PcRuleEntity extends BaseEntity{
    /**
    *策略集id
    */
    private Long policySetsId;
    /**
    *执行者id
    */
    private Long executorId;
    /**
    *策略id
    */
    private Long policyId;
    /**
    *1.自定义， 2.其他
    */
    private Integer ruleType;
    /**
    *规则名称
    */
    private String name;
    /**
    *规则编码
    */
    private String code;
    /**
    *规则版本
    */
    private Integer version;
    /**
    *是否启用
    */
    private Integer isActive;
    /**
    *排序
    */
    private Integer sort;


    public  Long getPolicySetsId(){
        return this.policySetsId;
    }

    public  PcRuleEntity setPolicySetsId(Long policySetsId){
        this.policySetsId = policySetsId;
        return this;
    }

    public  Long getExecutorId(){
        return this.executorId;
    }

    public  PcRuleEntity setExecutorId(Long executorId){
        this.executorId = executorId;
        return this;
    }

    public  Long getPolicyId(){
        return this.policyId;
    }

    public  PcRuleEntity setPolicyId(Long policyId){
        this.policyId = policyId;
        return this;
    }

    public  Integer getRuleType(){
        return this.ruleType;
    }

    public  PcRuleEntity setRuleType(Integer ruleType){
        this.ruleType = ruleType;
        return this;
    }

    public  String getName(){
        return this.name;
    }

    public  PcRuleEntity setName(String name){
        this.name = name;
        return this;
    }

    public  String getCode(){
        return this.code;
    }

    public  PcRuleEntity setCode(String code){
        this.code = code;
        return this;
    }

    public  Integer getVersion(){
        return this.version;
    }

    public  PcRuleEntity setVersion(Integer version){
        this.version = version;
        return this;
    }

    public  Integer getIsActive(){
        return this.isActive;
    }

    public  PcRuleEntity setIsActive(Integer isActive){
        this.isActive = isActive;
        return this;
    }

    public  Integer getSort(){
        return this.sort;
    }

    public  PcRuleEntity setSort(Integer sort){
        this.sort = sort;
        return this;
    }
}
